import http from "../common/http.js";
export default {
	
	// 新增折现提交接口
	submitDiscount: (data,needLoading) => {
		return http.GET('/verify/verify-for-cash', data,needLoading) 
	},
	// // 新增学生认证
	studentCertification: (data,needLoading) => {
		return http.GET("/user/check-student", data, needLoading);
	},
	
	
	// 获取卡券码详情
	getQrcode: (data,needLoading) => {
		return http.POST('/write-off-code/get-qrcode', data,needLoading) 
	},
	//核销逻辑
	clerkCard: (data,needLoading) => {
		return http.POST('/write-off-code/clerk-card', data,needLoading) 
	},
	//核销数据
	getCard: (data,needLoading) => {
		return http.POST('/write-off-code/get-card', data,needLoading) 
	},
}
